/**
 * 
 */
package testes;

import java.util.Vector;

import pactoes.Ack;

/**
 * @author hitek
 *
 */
public class Testes {
	
	
	public static void main(String[] args) {
	
		Vector v = new Vector();
		v.add(1);
		v.add(2);
		Byte [ ] Ba = new Byte[v.size()];
		Ba = (Byte[]) v.toArray(Ba);
		byte [ ] ba = new byte[Ba.length];
		for (int i = 0 ; i < ba.length ; ++i)
		   ba[i] = Ba[i].byteValue();
		System.out.println(ba[0]);
	}
	
	
}
